keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

a800p + FXOS 200 -> dahdi_genconf : Empty configuration -- no spans

12 years 7 months ago #7401 by Joe.Yung
Hi,
Please try to execute `modprobe dahdi` and `modprobe opvxa1200 debug=1` before peforming `dahdi_genconf `.

12 years 7 months ago #7402 by apochekutov
[root@localhost ~]# modprobe dahdi
[root@localhost ~]# modprobe opvxa1200 debug=1
[root@localhost ~]# dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans
[root@localhost ~]#
12 years 7 months ago #7403 by apochekutov
I manual write /etc/dahdi/system.conf:

# Span 1
fxsks=1
fxoks=2

# Global data

loadzone = us
defaultzone=us


reboot and run:
[root@localhost ~]# dahdi_cfg -vv
DAHDI Tools Version - 2.4.0

DAHDI Version: 2.4.0
Echo Canceller(s):
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 02)

2 channels to configure.

DAHDI_CHANCONFIG failed on channel 1: No such device or address (6)
12 years 7 months ago #7404 by apochekutov
Solved

Thanks: http://ubuntuforums.org/showthread.php?t=1491787
Thanks: http://www.spinics.net/lists/asterisk/msg141863.html

Solution:

echo 'blacklist netjet' >> /etc/modprobe.d/blacklist.conf
echo 'blacklist hisax' >> /etc/modprobe.d/blacklist.conf

rmmod hisax
rmmod netjet

service dahdi restart

[root@localhost ~]# dahdi_hardware
pci:0000:01:03.0 opvxa1200+ e159:0001 OpenVox A800P

[root@localhost ~]# dahdi_genconf -v
Default parameters from /etc/dahdi/genconf_parameters
Generating /etc/dahdi/system.conf
Generating /etc/asterisk/dahdi-channels.conf

[root@localhost ~]# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Sat Oct 1 07:39:20 2011
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: OPVXA1200/12 "OpenVox A1200P/A800P Board 13" (MASTER)
# channel 1, OPVXA1200/12/0, no module.
# channel 2, OPVXA1200/12/1, no module.
fxsks=3
echocanceller=mg2,3
fxoks=4
echocanceller=mg2,4
# channel 5, OPVXA1200/12/4, no module.
# channel 6, OPVXA1200/12/5, no module.
# channel 7, OPVXA1200/12/6, no module.
# channel 8, OPVXA1200/12/7, no module.

# Global data

loadzone
= us
defaultzone
= us


[root@localhost ~]# cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Sat Oct 1 07:39:20 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: OPVXA1200/12 "OpenVox A1200P/A800P Board 13" (MASTER)
;;; line="3 OPVXA1200/12/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

;;; line="4 OPVXA1200/12/3 FXOKS"
signalling=fxo_ks
callerid="Channel 4" <4004>
mailbox=4004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
11 years 2 months ago #8634 by sorenaa_s
I have the same problem, but I have't "hisax" or "hisax" module.

[root@rahimi ~]# dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans


[root@rahimi ~]# dahdi_cfg -vvvvvv
DAHDI Tools Version - 2.6.1

DAHDI Version: 2.6.1
Echo Canceller(s): HWEC
Configuration
======================

Channel map:

0 channels to configure.

i] Last edited by sorenaa_s at 2013-3-3 21:21 [/i
11 years 2 months ago #8635 by tim.june
Hi,
What card you are using? Pls make sure the card is recongnized the driver module is loaded.
Paste output info of "lspci" , "lsmod | grep dahdi" and "dmesg".

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
Time to create page: 0.056 seconds
Powered by Kunena Forum